{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "f90f830e",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "day_time\n",
      "周五有1节课\n",
      "4-5节 体育\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "day_time = int(time)\n",
    "\n",
    "print(\"day_time\")\n",
    "if day_time==1:\n",
    "    print(\"周一有2节课\");print(\"4-5节 大英\");print(\"3-4节 偶练歌舞\")\n",
    "elif day_time==2:\n",
    "    print(\"周二有2节课\");print(\"3-5节 创业实践\");print(\"8-10节 网站运营与管理\")\n",
    "elif day_time==3:\n",
    "    print(\"周三有2节课\");print(\"1-3节 毛概论\");print(\"12-13节 大英\")\n",
    "elif day_time==4:\n",
    "    print(\"周四有2节课\");print(\"3-5节 python\");print(\"8-9节 毛概实践\")\n",
    "elif day_time==5:\n",
    "    print(\"周五有1节课\");print(\"4-5节 体育\")\n",
    "else:\n",
    "    print(\"周末没有课，煲剧休息熬夜写作业\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "974d7ce8",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
